/**
 * 
 */
package com.ctvit.common;

import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.List;

/**
 *     SmsPlatform 项目中的Constants
 */
public class ConstantsSms {
	
	public static final int PAGE_SIZE_20 = 20;
	public static final int PAGE_SIZE_100 = 100;
	public static final String FORMAT = "yyyy-MM-dd HH:mm:ss";
	public static final Format DEFAULT_DATE_FORMATA = new SimpleDateFormat(FORMAT);
	
	public static final String QUARTZ_JOB_MO_MESSAGE = "mo_job";
	
/*	
    1 	= 	rtx
	2	=	sms
	3	=	mail
	4	=	mail+rtx
	5	=	mail+sms
	6	=	rtx+sms
	7	=	rtx+mail+sms
*/
	public static final List<Integer> OPERAS = Arrays.asList(new Integer[]{1, 2, 3, 4, 5, 6, 7});
	public static final List<Integer> RTX_OPERAS= Arrays.asList(new Integer[]{1, 4, 6, 7});
	public static final List<Integer> SMS_OPERAS= Arrays.asList(new Integer[]{2, 5, 6, 7});
	public static final List<Integer> MAIL_OPERAS= Arrays.asList(new Integer[]{3, 4, 5, 7});
	
	public static final String ADVANCE_PAGE_ACTION = "advance";
	
	public static final String WS0000 = "X00000";	// 初始状态
	public static final String WS0100 = "X00100";	//
	public static final String WS0101 = "X00101";	//
	public static final String WS0200 = "X00200";	//
	public static final String WS0500 = "X00500";	//
	public static final String WS0999 = "X00999";	//
	
	public static final String EM0000 = "X10000";
	public static final String EM0100 = "X10100";
	public static final String EM0101 = "X10101";
	public static final String EM0200 = "X10200";
	public static final String EM0500 = "X10500";
	public static final String EM0999 = "X10999";
	
	public static final String RT0000 = "X20000";
	public static final String RT0100 = "X20100";
	public static final String RT0101 = "X20101";
	public static final String RT0200 = "X20200";
	public static final String RT0400 = "X20400";
	public static final String RT0500 = "X20500";
	public static final String RT0999 = "X20999";
	
	public static final String MT0000 = "X30000";	// 初始状态
	public static final String MT0100 = "X30100";	// 号码为空
	public static final String MT0101 = "X30101";	// 未知人员
	public static final String MT0200 = "X30200";	// 号码格式有误
	public static final String MT0500 = "X30500";	// 发送失败
	public static final String MT0801 = "X30801";	//-非法登录（如登录名、口令出错、登录名与口令不符等）
	public static final String MT0803 = "X30803";	// 余额不足
	public static final String MT0805 = "X30805";   // 参数错误
	public static final String MT0809 = "X30809";	// 提交失败
	public static final String MT0810 = "X30810";	// 目标号码数量超过限定大小（短信平台规定目标号码的数量最多为100个）
	public static final String MT0999 = "X30999";	// 提交成功
	
	public static final String MO0000 = "X40000";
	public static final String MO0100 = "X40100";
	public static final String MO0101 = "X40101";
	public static final String MO0200 = "X40200";
	public static final String MO0500 = "X40500";
	
	public static final String RS0000 = "X60000";	// 初始状态
	public static final String RS0100 = "X60100";	// 号码为空
	public static final String RS0101 = "X60101";	// 未知人员
	public static final String RS0200 = "X60200";	// 号码格式有误
	public static final String RS0500 = "X60500";	// 发送失败
	public static final String RS0801 = "X60801";	//-非法登录（如登录名、口令出错、登录名与口令不符等）
	public static final String RS0803 = "X60803";	// 余额不足
	public static final String RS0805 = "X60805";   // 参数错误
	public static final String RS0809 = "X60809";	// 提交失败
	public static final String RS0810 = "X60810";	// 目标号码数量超过限定大小（短信平台规定目标号码的数量最多为100个）
	public static final String RS0999 = "X60999";	// 提交成功
	
	
	
}
